<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>学生列表</title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="format-detection" content="telephone=no">
        <link rel="stylesheet" href="/sources/lay/layui/css/layui.css" media="all" />
        <link rel="stylesheet" href="/sources/lay/css/public.css" media="all" />
    </head>
    <body class="childrenBody">
        <form class="layui-form layui-row layui-col-space10">
            <div class="layui-col-md6 layui-col-xs6">
                <div class="layui-row layui-col-space10">
                    <div class="layui-col-md12 layui-col-xs12">


                        <div class="layui-form-item">
                            <label class="layui-form-label">选择班级</label>
                            <div class="layui-input-block">
                                <select name="class_id" id="classid" lay-filter="classid">
                                    <option value="">请选择班级</option>
                                </select>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">学生姓名</label>
                                <div class="layui-input-inline">
                                    <input type="text" class="layui-input name" name="name" lay-verify="required"  autocomplete="off"  placeholder="请输入学生姓名">
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">学生学号</label>
                                <div class="layui-input-inline">
                                    <input type="number" class="layui-input snumber"  name="snumber" lay-verify="required" placeholder="请输入学生学号">
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">

                            <div class="layui-inline">
                            <label class="layui-form-label">学生性别</label>
                            <div class="layui-input-block">
                                <input type="radio" name="sex" value="1" title="男">
                                <input type="radio" name="sex" value="0" title="女">
                            </div>
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label">学生年龄</label>
                                <div class="layui-input-inline">
                                    <input type="number" class="layui-input age"  name="age" lay-verify="required" placeholder="请输入年龄">
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label">创建时间</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input createtime" name="createtime" id="createtime" lay-verify="required"  placeholder="请选择创建时间" readonly />
                            </div>
                        </div>


                                <input type="hidden" id="id" name="id" class="id">


                        <div class="layui-form-item">
                            <label class="layui-form-label"></label>
                            <div class="layui-input-block">
                                <a class="layui-btn layui-btn-sm" lay-filter="addStudent" lay-submit><i class="layui-icon">&#xe609;</i>提交</a>
                            </div>

                        </div>

                    </div>

                </div>

            </div>


        </form>
        <script type="text/javascript" src="/sources/lay/layui/layui.js"></script>
        <script type="text/javascript" src="/sources/js/studentAdd.js"></script>

    </body>
</html>
